#include <stdio.h>

int main(void)
{
	char *p = "hello", *q;
	int i;

	q = p;
	i = 0;
	while (*q != '\0')
	{
		q++;
		i++;
	}
	printf("length = %d\n", i);

	return 0;
}